<nav class="navbar navbar-default navbar-fixed-top">
  	<div class="container-fluid">
    	<div class="navbar-header">
      		<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#admin-menu-collapse">
        		<span class="icon-bar"></span>
        		<span class="icon-bar"></span>
        		<span class="icon-bar"></span>
      		</button>
      		<a class="navbar-brand" href="<?php echo site_url('admin/dashboard'); ?>">Admin panel</a>
    	</div>

    	<div class="collapse navbar-collapse" id="admin-menu-collapse">
      		<ul class="nav navbar-nav navbar-right">
        		<li><a href="<?php echo site_url(); ?>">Go to Frontend <i class="glyphicon glyphicon-share-alt"></i></a></li>
        		<li class="dropdown">
          			<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Settings <i class="glyphicon glyphicon-cog"></i><span class="caret"></span></a>
          			<ul class="dropdown-menu" role="menu">
            			<li><a href="#">Action</a></li>
            			<li><a href="#">Another action</a></li>
            			<li><a href="#">Something else here</a></li>
            			<li class="divider"></li>
            			<li><a href="#">Separated link</a></li>
          			</ul>
       			 </li>
       			 <li><a href="<?php echo site_url('admin/logout'); ?>">Log Out</a></li>
      		</ul>
    	</div>
  	</div>
</nav>